export interface BxHomeModel{
  status:string
  data:HomeDataModel

}

export interface HomeDataModel {
  topNavBarList:topNavBarModule[]
  recommendTabList:RecommendTabModule[]
  LeadGenerationList:LeadGenerationModule[]
  bannerImgList:BannerImgModule[]
  financeList:ListModule<FinanceModule>
  depositList:ListModule<DepositModule>
  fundList:ListModule<FundModule>
}

export interface topNavBarModule{
  resourceUrl:string
  blockName:string
  fatherId:number
  linkUrl:string
  id:number
}

export interface RecommendTabModule{
  tab:string
  blockName:string
  fatherId:number
  linkUrl:string
  id:number
  rate:string
  unit:string,
  rateTitle:string
  descTip:string
  tip:string
  subTip:string
  nodeAddition:string
}

export interface LeadGenerationModule{
  icon:string
  name:string
  amount:string
  rate:string
  amountDesc:string
  linkUrl:string,
  buttonName: string,
  tags:string[]
}

export interface BannerImgModule {
  id:number
  img:string
  linkUrl:string
}

export interface ListModule<T>{
  tags:string[],
  title:string,
  titleDesc:string,
  list:T[]
}

export interface FinanceModule{
  icon:string
  name:string
  desc:string
  rate:string
  rateDesc:string,
  unit:string
  tip:string
  subTip:string
  descTip:string
  linkUrl:string
}



export interface DepositModule extends FinanceModule{
}

export interface FundModule extends DepositModule{
}

